import FormDetailComp from "containers/setting/form/form-detail/form-detail";
import FormListComp from "containers/setting/form/form-list";

//表单管理
const FormListMenu =  {
  key: 'form-list',
  url: '/main/setting/form-list',
  components: FormListComp,
  parent: 'setting',
  fpItem: ["settings.formDesign.disabled"],
  fpValue: [[false,undefined]],
  children: {
    //表单详情
    formDetail: {
      key: 'form-detail',
      url: '/main/setting/form-list/form-detail/:formOID/:booksID',
      components: FormDetailComp,
      parent: 'form-list'
    },
    //新建表单
    newForm: {
      key: 'new-form',
      url: '/main/setting/form-list/new-form/:formType/:booksID',
      components: FormDetailComp,
      parent: 'form-list'
    },
  }
};
export default FormListMenu;
